using System.Windows;
using Headsight.BPMN2WF.BPMN.Schemas;

namespace Headsight.BPMN2WF.BPMN.Model
{
    /// <summary>
    /// SoR. BPMN diagram element visualization meta data...
    /// </summary>
    public class BPMNElementVisual : BPMNBaseElement<BPMNShape>
    {
        public BPMNElementVisual(BPMNShape bpmnShape) : base(bpmnShape, bpmnShape.id) { }

        public Rect Bounds
        {
            get
            {
                return new Rect(TElement.Bounds.x, TElement.Bounds.y, TElement.Bounds.width, TElement.Bounds.height);
            }
        }
    }
}